package cn.mineserv.video.videoordersystem.dao;

import cn.mineserv.video.videoordersystem.model.Admin;
import cn.mineserv.video.videoordersystem.model.AdminExample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AdminDao extends BaseMapper<Admin> {
    long countByExample(AdminExample example);

    int deleteByExample(AdminExample example);

    List<Admin> selectByExample(AdminExample example);

    int updateByExampleSelective(@Param("record") Admin record, @Param("example") AdminExample example);

    int updateByExample(@Param("record") Admin record, @Param("example") AdminExample example);

    int updateBatch(List<Admin> list);

    int updateBatchSelective(List<Admin> list);

    int batchInsert(@Param("list") List<Admin> list);

    int insertOrUpdate(Admin record);

    int insertOrUpdateSelective(Admin record);
}